package com.tm.d11_extends_feature;
/**
 * 2024/5/18 继承 Cjj 14:54
 */
public class Test {
    public static void main(String[] args) {
        A a = new A();

        B b = new B();

    }
}

class A{} //extends Object{}
class B extends A{}

//class C extedns B,A{} //报错
class D extends B{}
